11. Compiling the Lidar Simulator

Header Text

Compiling the Lidar Simulator

Compilation Instructions

Compilation Instructions

  • In the terminal workspace below, make sure that GPU is enabled .
  • Click on Desktop button on lower right.
  • Click on Terminator to load up work space desktop terminal.
  • From the terminal, go to the project root directory, cd /home/workspace/SFND-Lidar-Obstacle-Detection .
  • Create a new directory from the project root named build with the following command: mkdir build .
  • Then go into the build directory: cd build .
  • Run cmake pointing to the CMakeLists.txt in the root: cmake .. .
    If everything went well you should see something like
-- Configuring done
-- Generating done
-- Build files have been written to: /your directory/simple_highway/build
  • If cmake was successful, then from inside build run make: make
  • If make built target environment 100%, it will have generated an executable called environment . This build process is defined from the CMakeLists.txt file.

Compilation Walkthrough

ND313 C1 L1 A09 Compilation Walkthrough

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: react
  • Opened files (when workspace is loaded): n/a